
Replication files for "Credit Standards and Segregation"

Software:
=========

Stata 13 with the package ivreg2, installed through SSC : "ssc install ivreg2".

Data sources:
=============

- Population, Isolation, Exposure measures from Summary File 3 of the 2000 and 2010 Censuses, from the NHGIS University of Minnesota website https://www.nhgis.org/.

- Loan-to-income ratio and Approval Rate for mortgage applications: Home Mortgage Disclosure Act data 2000 to 2006 from the Federal Financial Institutions Examination Council https://www.ffiec.gov/hmda/.  

- MSA Income and unemployment rate from the Current Population Survey 2000 and 2006 http://www.nber.org/cps/.

- MSA elasticity data from Saiz (2008), formerly available at  http://real.wharton.upenn.edu/~saiz/ and now by email at saiz@mit.edu.

- Census tract relationship file to match 2000 and 2010 census tracts, available at: https://www.census.gov/geo/maps-data/data/relationship.html .

- Banks' report on income and condition also known as Call Reports, from the Wharton Research Data Service (WRDS), at https://wrds-web.wharton.upenn.edu/.

- Crosswalk from HMDA's respondentid to the Call Reports bank identifiers, from Elena Loutskina, http://faculty.darden.virginia.edu/loutskinae/.

Files:
======

1. OLS_regressions.do replicates the MSA-level OLS regressions of the paper, Table 1.

2. IV_estimation.do replicates the MSA-level IV regressions of the paper, Tables 2 to 4.

3. tract_level_analysis.do replicates the tract-level graphs of the paper, Figures 3 and 4.

4. msa_2000_2010_file_0_loutskina.dta Stata file for the IV analysis.

5. msa_2000_2010_file.dta Stata file for the OLS analysis.

6. msa-demand-shocks.dta MSA-level data from the CPS for income measures, for both OLS and IV analysis.

7. longitudinal census tract data set.dta Tract level data from the 2000 and 2010 Censuses for the tract-level analysis.





